package com.sync.syncmasterdata;


import com.fasterxml.jackson.databind.ObjectMapper;
import com.sync.syncmasterdata.customer.controller.CusSyncController;
import com.sync.syncmasterdata.dingrobot.controller.DingController;
import com.sync.syncmasterdata.dingrobot.pojo.DingMsg;
import com.sync.syncmasterdata.product.entity.wms.EleProduct;
import com.sync.syncmasterdata.product.pojo.cp.InventoryForCP;
import com.sync.syncmasterdata.product.pojo.oa.InventoryForOA;
import com.sync.syncmasterdata.product.service.SyncInventoryService;
import com.sync.syncmasterdata.product.service.convert.ProductOAtoCP;
import com.sync.syncmasterdata.product.service.convert.ProductOAtoWms;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.*;

@SpringBootTest
@Slf4j
class SyncMasterDataApplicationTestsForOaCus {

    @Autowired
    private CusSyncController cusSyncController;

    @Test
    void contextLoads() {
    }

    /**
     * oa重复推送测试
     */
    @Test
    public void test1() {
        Map<String, String> map = new HashMap<>();
        map.put("requestid","445341");
        cusSyncController.manualSyncPartByOA(map);

    }



}
